home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
c
/
vbcc
/
machines
/
amiga68k
/
libsrc
/
amigalib
/
sprintf.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-10-26
|
254 b
|
10 lines
#include <clib/exec_protos.h>
static ULONG tricky=0x16c04e75; /* move.b d0,(a3)+ ; rts */
void sprintf(STRPTR buffer,STRPTR fmt,...)
{
tricky=0x16c04e75;
RawDoFmt(fmt,(ULONG *)&fmt+1,(void (*)())&tricky,buffer);
} /* Not very clean, but ... */